﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_BLACKAPPLY.cs
// 项目名称：Lovol 
// 创建时间：2011/10/22
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_BLACKAPPLY数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_BLACKAPPLY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_BLACKAPPLY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_BLACKAPPLY_Entity
    {
        #region 变量定义
        ///<summary>
        ///自增编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///客户编号
        ///</summary>
        private string _cUSTOMERID = String.Empty;
        ///<summary>
        ///客户代码
        ///</summary>
        private string _cUSTOMERCODE = String.Empty;
        ///<summary>
        ///客户姓名
        ///</summary>
        private string _cUSTOMERNAME = String.Empty;
        ///<summary>
        ///手机号码
        ///</summary>
        private string _pHONE = String.Empty;
        ///<summary>
        ///申请原因
        ///</summary>
        private string _aPPLYREASON = String.Empty;
        ///<summary>
        ///状态
        ///</summary>
        private long? _sTATUS = 0;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///审核时间
        ///</summary>
        private DateTime? _rEVIEWTIME;
        ///<summary>
        ///审核人编号
        ///</summary>
        private long? _rEVIEWPEOPLEID = 0;
        ///<summary>
        ///审核人
        ///</summary>
        private string _rEVIEWPEOPLE = String.Empty;
        ///<summary>
        ///审核意见
        ///</summary>
        private string _rEVIEWIDEA = String.Empty;
        ///<summary>
        ///主叫标识
        ///</summary>
        private string _cALLID = String.Empty;
        ///<summary>
        ///录音代码
        ///</summary>
        private string _rECORDCODE = String.Empty;
        ///<summary>
        ///来电类型
        ///</summary>
        private string _cALLTYPE = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_BLACKAPPLY_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_BLACKAPPLY")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///客户编号
        ///</summary>		
        public string CUSTOMERID
        {
            get { return _cUSTOMERID; }
            set
            {
                _cUSTOMERID = value;
            }

        }

        ///<summary>
        ///客户代码
        ///</summary>		
        public string CUSTOMERCODE
        {
            get { return _cUSTOMERCODE; }
            set
            {
                _cUSTOMERCODE = value;
            }

        }

        ///<summary>
        ///客户姓名
        ///</summary>		
        public string CUSTOMERNAME
        {
            get { return _cUSTOMERNAME; }
            set
            {
                _cUSTOMERNAME = value;
            }

        }

        ///<summary>
        ///手机号码
        ///</summary>		
        public string PHONE
        {
            get { return _pHONE; }
            set
            {
                _pHONE = value;
            }

        }

        ///<summary>
        ///申请原因
        ///</summary>		
        public string APPLYREASON
        {
            get { return _aPPLYREASON; }
            set
            {
                _aPPLYREASON = value;
            }

        }

        ///<summary>
        ///状态
        ///</summary>		
        public long? STATUS
        {
            get { return _sTATUS; }
            set { _sTATUS = value; }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///审核时间
        ///</summary>		
        public DateTime? REVIEWTIME
        {
            get { return _rEVIEWTIME; }
            set { _rEVIEWTIME = value; }

        }

        ///<summary>
        ///审核人编号
        ///</summary>		
        public long? REVIEWPEOPLEID
        {
            get { return _rEVIEWPEOPLEID; }
            set { _rEVIEWPEOPLEID = value; }

        }

        ///<summary>
        ///审核人
        ///</summary>		
        public string REVIEWPEOPLE
        {
            get { return _rEVIEWPEOPLE; }
            set
            {
                _rEVIEWPEOPLE = value;
            }

        }

        ///<summary>
        ///审核意见
        ///</summary>		
        public string REVIEWIDEA
        {
            get { return _rEVIEWIDEA; }
            set
            {
                _rEVIEWIDEA = value;
            }

        }

        ///<summary>
        ///主叫标识
        ///</summary>		
        public string CALLID
        {
            get { return _cALLID; }
            set
            {
                _cALLID = value;
            }

        }

        ///<summary>
        ///录音代码
        ///</summary>		
        public string RECORDCODE
        {
            get { return _rECORDCODE; }
            set
            {
                _rECORDCODE = value;
            }

        }

        ///<summary>
        ///来电类型
        ///</summary>		
        public string CALLTYPE
        {
            get { return _cALLTYPE; }
            set
            {
                _cALLTYPE = value;
            }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }


        #endregion

    }
}
